﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" %>

<script runat="server">

    protected void btnPost_Click(object sender, EventArgs e)
    {
        lblMsg.Text = DateTime.Now.ToString("DD MMM YYYY HH:mm:ss");
    }
    protected void drpTest_OnSelectedIndexChanged(object sender, EventArgs e)
    {
        lblDrpMsg.Text = drpTest.SelectedValue;
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1>
        ASP.NET Sample</h1>
    <h2>
        ASP.NET Sample</h2>
    <h3>
        ASP.NET Sample</h3>
    <h4>
        ASP.NET Sample</h4>
    <h5>
        ASP.NET Sample</h5>
    <h6>
        ASP.NET Sample</h6>
    <a href="javascript:ShowNmpStackModalPopUp('tblSamplePopUp');">Show Popup</a><br /><br />
    <a href="javascript:ShowNmpStackModalPopUp('tblSampleIFramePopup');">Show IFrame Popup</a>
    <h1>
        ASP.NET Sample</h1>
    <h2>
        ASP.NET Sample</h2>
    <h3>
        ASP.NET Sample</h3>
    <h4>
        ASP.NET Sample</h4>
    <h5>
        ASP.NET Sample</h5>
    <h6>
        ASP.NET Sample</h6>
    <h1>
        ASP.NET Sample</h1>
    <h2>
        ASP.NET Sample</h2>
    <h3>
        ASP.NET Sample</h3>
    <h4>
        ASP.NET Sample</h4>
    <h5>
        ASP.NET Sample</h5>
    <h6>
        ASP.NET Sample</h6>
    <h1>
        ASP.NET Sample</h1>
    <h2>
        ASP.NET Sample</h2>
    <h3>
        ASP.NET Sample</h3>
    <h4>
        ASP.NET Sample</h4>
    <h5>
        ASP.NET Sample</h5>
    <h6>
        ASP.NET Sample</h6>
    <h1>
        ASP.NET Sample</h1>
    <h2>
        ASP.NET Sample</h2>
    <h3>
        ASP.NET Sample</h3>
    <h4>
        ASP.NET Sample</h4>
    <h5>
        ASP.NET Sample</h5>
    <h6>
        ASP.NET Sample</h6>
    <h1>
        ASP.NET Sample</h1>
    <h2>
        ASP.NET Sample</h2>
    <h3>
        ASP.NET Sample</h3>
    <h4>
        ASP.NET Sample</h4>
    <h5>
        ASP.NET Sample</h5>
    <h6>
        ASP.NET Sample</h6>
    <table border="0" width="500px" id="tblSamplePopUp" class="NmpStackModalPopUp">
        <tr>
            <td>
                <table class="AlertPopup" border="0">
                    <tr>
                        <td align="right">
                            <a onclick="HideNmpStackModalPopUp()">
                                <img src="images/icon-close.png" border="0" style="cursor: pointer;" /></a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <h3>
                                <a href="javascript:ShowNmpStackModalPopUp('tblSampleChildPopUp');">Show Popup over
                                    Popup</a></h3>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:UpdatePanel runat="server">
                                <ContentTemplate>
                                    <asp:Button ID="btnPost" runat="server" Text="Postback" OnClick="btnPost_Click" /><br />
                                    <br />
                                    <asp:Label ID="lblMsg" runat="server"></asp:Label>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <br />
                            <br />
                            <br />
                            <br />
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sem urna, tempus non
                            placerat ut, congue a nibh. Sed accumsan nisi sed justo vehicula condimentum. Phasellus
                            vitae enim urna, vitae posuere nunc. Integer in ligula eros. Quisque vel ultrices
                            est. Sed eget nisl est, quis aliquet lacus. Mauris eu tortor a lectus dictum rhoncus
                            eu a lorem. Aenean luctus felis libero. Phasellus vitae enim urna, vitae posuere
                            nunc. Integer in ligula eros. Quisque vel ultrices est. Sed eget nisl est, quis
                            aliquet lacus. Mauris eu tortor a lectus dictum rhoncus eu a lorem. Aenean luctus
                            felis libero.
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table border="0" width="300px" id="tblSampleChildPopUp" class="NmpStackModalPopUp">
        <tr>
            <td>
                <table class="AlertPopup" border="0">
                    <tr>
                        <td align="right">
                            <a onclick="HideNmpStackModalPopUp()">
                                <img src="images/icon-close.png" border="0" style="cursor: pointer;" /></a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                <ContentTemplate>
                                    <asp:DropDownList ID="drpTest" runat="server" AutoPostBack="true" OnSelectedIndexChanged="drpTest_OnSelectedIndexChanged">
                                        <asp:ListItem Text="Value 1" Value="Value 1"></asp:ListItem>
                                        <asp:ListItem Text="Value 2" Value="Value 2"></asp:ListItem>
                                        <asp:ListItem Text="Value 3" Value="Value 3"></asp:ListItem>
                                        <asp:ListItem Text="Value 4" Value="Value 4"></asp:ListItem>
                                        <asp:ListItem Text="Value 5" Value="Value 5"></asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                    <br />
                                    <asp:Label ID="lblDrpMsg" runat="server" Text="Label"></asp:Label>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <br />
                            <br />
                            <br />
                            <br />
                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. In sem urna, tempus non
                            placerat ut, congue a nibh. Sed accumsan nisi sed justo vehicula condimentum. Phasellus
                            vitae enim urna, vitae posuere nunc. Integer in ligula eros. Quisque vel ultrices
                            est. Sed eget nisl est, quis aliquet lacus. Mauris eu tortor a lectus dictum rhoncus
                            eu a lorem. Aenean luctus felis libero. Phasellus vitae enim urna, vitae posuere
                            nunc. Integer in ligula eros. Quisque vel ultrices est. Sed eget nisl est, quis
                            aliquet lacus. Mauris eu tortor a lectus dictum rhoncus eu a lorem. Aenean luctus
                            felis libero.
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table border="0" id="tblSampleIFramePopup" class="NmpStackModalPopUp">
        <tr>
            <td>
                <table class="AlertPopup" border="0">
                    <tr>
                        <td align="right">
                            <a onclick="HideNmpStackModalPopUp()">
                                <img src="images/icon-close.png" border="0" style="cursor: pointer;" /></a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <iframe src="innerPage.aspx" width="500px"></iframe>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
